﻿// Copyright (c) Pomelo Foundation. All rights reserved.
// Licensed under the MIT. See LICENSE in the project root for license information.

using System;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal;
using Microsoft.EntityFrameworkCore.Utilities;

// ReSharper disable once CheckNamespace
namespace Microsoft.EntityFrameworkCore.Query.Internal
{
    public class MyCatQueryCompilationContext : RelationalQueryCompilationContext
    {
        public MyCatQueryCompilationContext(
           [NotNull] QueryCompilationContextDependencies dependencies,
           [NotNull] ILinqOperatorProvider linqOperatorProvider,
           [NotNull] IQueryMethodProvider queryMethodProvider,
           bool trackQueryResults)
           : base(
               dependencies,
               linqOperatorProvider,
               queryMethodProvider,
               trackQueryResults)
        {
        }

        /// <summary>
        ///     This API supports the Entity Framework Core infrastructure and is not intended to be used
        ///     directly from your code. This API may change or be removed in future releases.
        /// </summary>
        public override bool IsLateralJoinSupported => true;
    }
}
